﻿namespace GoodAdmin.System;

public class DictDataAddInput:SysDictData
{
    [Required(ErrorMessage ="字典名称不能为空")]
    public override string Name { get; set; }
    [Required(ErrorMessage = "字典值不能为空")]
    public override string Value { get; set; }
}

public class DictDataUpdateInput : DictDataAddInput
{
    [Required(ErrorMessage = "Id不能为空")]
    public override long Id { get; set; }
}

public class DictDataPageInput : BasePageInput
{
    public long DictTypeId { get; set; }
    public string DictDataName { get; set; }
}